Two 32 bit compilation fixes
authorColin Walters <walters@verbum.org>
Thu, 8 Jan 2015 21:16:21 +0000 (16:16 -0500)
committerColin Walters <walters@verbum.org>
Mon, 12 Jan 2015 17:43:03 +0000 (12:43 -0500)
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo-static-delta-compilation.c

index 2a302ba91d8a94b8a6c3bc8ac286e69eef0c4136..f3b8253a0bb336e7d40a31f81b68f9c02b81e970 100644 (file)
@@ -1857,7 +1857,7 @@ ostree_repo_pull_with_options (OstreeRepo             *self,
 
       if (pull_data->summary)
         {
-          guint64 commit_size = 0;
+          gsize commit_size = 0;
           guint64 *malloced_size;
 
           if (!lookup_commit_checksum_from_summary (pull_data, branch, &contents, &commit_size, error))
index 24fe8f4fc63e27ccc35be003e08978b1028a0fbc..96c6324b3cb88810d616ff8ce89e4cd2e97d7c66 100644 (file)
@@ -548,7 +548,7 @@ ostree_repo_static_delta_generate (OstreeRepo                   *self,
 
       g_printerr ("part %u n:%u compressed:%" G_GUINT64_FORMAT " uncompressed:%" G_GUINT64_FORMAT "\n",
                   i, part_builder->objects->len,
-                  g_variant_get_size (delta_part),
+                  (guint64)g_variant_get_size (delta_part),
                   part_builder->uncompressed_size);
     }